/*******************************************************************************
 * Template.java
 *
 * Created by Nishan
 * Last modified Date: Sep 5, 2008 2:41:49 PM by nishan
  * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ******************************************************************************/

package com.printeverywhere.dto;

import java.util.HashSet;
import java.util.Set;

/**
 * Template entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Template implements java.io.Serializable {

	// Fields

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	/** The template id. */
	private Integer templateId;
	
	/** The name. */
	private String name;
	
	/** The shop setting path. */
	private String shopSettingPath;
	
	private String classCss;
	private String headerCss;
	
	/** The shop settingses. */
	@SuppressWarnings("unchecked")
	private Set shopSettingses = new HashSet(0);

	// Constructors

	/**
	 * default constructor.
	 */
	public Template() {
	}

	/**
	 * minimal constructor.
	 * 
	 * @param templateId the template id
	 */
	public Template(Integer templateId) {
		this.templateId = templateId;
	}

	/**
	 * full constructor.
	 * 
	 * @param name the name
	 * @param shopSettingses the shop settingses
	 */
	@SuppressWarnings("unchecked")
	public Template(String name, Set shopSettingses, String classCss, String headerCss) {
		this.name = name;
		this.shopSettingses = shopSettingses;
		this.classCss = classCss;
		this.headerCss = headerCss;
	}
	

	// Property accessors

	/**
	 * Gets the template id.
	 * 
	 * @return the template id
	 */
	public Integer getTemplateId() {
		return this.templateId;
	}

	/**
	 * Sets the template id.
	 * 
	 * @param templateId the new template id
	 */
	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the shop settingses.
	 * 
	 * @return the shop settingses
	 */
	@SuppressWarnings("unchecked")
	public Set getShopSettingses() {
		return this.shopSettingses;
	}

	/**
	 * Sets the shop settingses.
	 * 
	 * @param shopSettingses the new shop settingses
	 */
	@SuppressWarnings("unchecked")
	public void setShopSettingses(Set shopSettingses) {
		this.shopSettingses = shopSettingses;
	}

	/**
	 * Gets the shop setting path.
	 * 
	 * @return the shop setting path
	 */
	public String getShopSettingPath() {
		return shopSettingPath;
	}

	/**
	 * Sets the shop setting path.
	 * 
	 * @param shopSettingPath the new shop setting path
	 */
	public void setShopSettingPath(String shopSettingPath) {
		this.shopSettingPath = shopSettingPath;
	}

	public String getClassCss() {
		return classCss;
	}

	public void setClassCss(String classCss) {
		this.classCss = classCss;
	}

	public String getHeaderCss() {
		return headerCss;
	}

	public void setHeaderCss(String headerCss) {
		this.headerCss = headerCss;
	}
}